package com.dr.cmdb.core;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
* @date:2021/3/16
* @className:CmdbApplication
* @author:duanrui
* @description: 启动类
*
*/
@SpringBootApplication
@EnableSwagger2Doc
@EnableSwaggerBootstrapUI
@ComponentScan(value = "com.dr.cmdb.**")
@MapperScan({"com.dr.cmdb.core.mapper"})
@EnableFeignClients(basePackages = {"com.dr.cmdb.facade.**"})
public class CmdbApplication {

    public static void main(String[] args) {
        SpringApplication.run(CmdbApplication.class, args);
    }

}
